package com.woniuxy.dao;

import com.sun.org.apache.xpath.internal.operations.Bool;
import com.woniuxy.entity.StuPaper;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

/**
 * @author ylr
 * @time 2022/06/13 20:10:12
 */
@Mapper
public interface StuPaperDao {
    /**
     * 学生考试完毕提交试卷到数据库
     * @param stuPaper
     * @return
     */
    Boolean addStuPaper(Map stuPaper);

    /**
     * 根据学生编号和试卷编号查询学生试卷详情
     * @param uid
     * @param pid
     * @return
     */
    StuPaper findStuPaper(int uid, int pid);
}
